package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目团队成员对象 pro_team_user
 *
 * @author ruoyi
 * @date 2024-10-07
 */
public class ProTeamUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 人员续保
     */
    private Long serialId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 岗位
     */
    @Excel(name = "岗位")
    private Long postId;

    /**
     * 工作状态
     */
    @Excel(name = "工作状态")
    private Long state;

    /**
     * 团队ID
     */
    @Excel(name = "团队ID")
    private Long teamId;

    /**
     * 职责
     */
    @Excel(name = "职责")
    private String task;

    public Long getSerialId() {
        return serialId;
    }

    public void setSerialId(Long serialId) {
        this.serialId = serialId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getPostId() {
        return postId;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Long getState() {
        return state;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTask(String task) {
        this.task = task;
    }

    public String getTask() {
        return task;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("serialId", getSerialId())
                .append("userId", getUserId())
                .append("name", getName())
                .append("postId", getPostId())
                .append("state", getState())
                .append("teamId", getTeamId())
                .append("task", getTask())
                .toString();
    }
}
